
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<?php defined( '_VALID_MOS' ) or die( include_once("../../404.php") );
$sql = "SELECT `news`.`Title`, `news`.`alias`, `news`.`img_file` FROM `news` WHERE `news`.`CatID` = 137 and `news`.`status` = 1
ORDER BY `news`.`Order` DESC
;

";
	$cmd = $mysqli->prepare($sql);
	$cmd->execute() or die($mysqli->error);
	$cmd->bind_result($Title, $alias, $img_file);
	$cmd->store_result();
?>


</head>

<div id="box_td">
	<div id="sub_box_td">
		<div class="bg_tt_right"><div class="bg_tt_left"><div class="bg_tt"><div class="text_tt">KINH DOANH BẤT ĐỘNG SẢN</div></div></div></div>
			
		<div id="sub_box_td">
				<div class="ct">			
							<ul id="news">
							<?php 
                            while($cmd->fetch()){
    							$hinhanh='';
    							if($img_file!="/pgd-omon/file_upload/image/no_image.jpg"){
	                               $hinhanh='<img src="../'.$img_file.'" width="76" />';
    							}	
                                if(($AliasCat=='Bat-dong-san')||($AliasCat=='Bat-dong-san')){
                          		     echo "<li> <a  href=\"./com_content/phong/$alias/csp.csp\"> ".$hinhanh."$Title</a></li>";
                                } 
                                else {						
   								     echo "<li> <a  href=\"./com_content/article/$alias/csp.csp\"> ".$hinhanh."$Title</a></li>";
                                }		
                            }
                            ?>						
							</ul>					
				</div><!-- end ct -->				
			
			<div class="bt_right"><div class="bt_left"></div></div>	
												
		</div><!-- end sub_box_td-->
	</div>
	<div class="clear"></div>
</div>